.class public Lcom/ss/android/socialbase/downloader/downloader/g;
.super Ljava/lang/Object;
.source "Downloader.java"


# static fields
.field private static volatile a:Lcom/ss/android/socialbase/downloader/downloader/g;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method private constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method constructor <init>(Lcom/ss/android/socialbase/downloader/downloader/h;)V
    .locals 0

    .line 2
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 3
    invoke-static {p1}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Lcom/ss/android/socialbase/downloader/downloader/h;)V

    return-void
.end method

.method public static a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;
    .locals 2

    .line 6
    sget-object v0, Lcom/ss/android/socialbase/downloader/downloader/g;->a:Lcom/ss/android/socialbase/downloader/downloader/g;

    if-nez v0, :cond_1

    .line 7
    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/g;

    monitor-enter v0

    .line 8
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/g;->a:Lcom/ss/android/socialbase/downloader/downloader/g;

    if-nez v1, :cond_0

    .line 9
    invoke-static {p0}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Landroid/content/Context;)V

    .line 10
    new-instance p0, Lcom/ss/android/socialbase/downloader/downloader/g;

    invoke-direct {p0}, Lcom/ss/android/socialbase/downloader/downloader/g;-><init>()V

    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/g;->a:Lcom/ss/android/socialbase/downloader/downloader/g;

    .line 11
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception p0

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p0

    .line 12
    :cond_1
    :goto_0
    sget-object p0, Lcom/ss/android/socialbase/downloader/downloader/g;->a:Lcom/ss/android/socialbase/downloader/downloader/g;

    return-object p0
.end method

.method public static declared-synchronized a(Lcom/ss/android/socialbase/downloader/downloader/h;)V
    .locals 2

    const-class v0, Lcom/ss/android/socialbase/downloader/downloader/g;

    monitor-enter v0

    if-nez p0, :cond_0

    .line 1
    monitor-exit v0

    return-void

    .line 2
    :cond_0
    :try_start_0
    sget-object v1, Lcom/ss/android/socialbase/downloader/downloader/g;->a:Lcom/ss/android/socialbase/downloader/downloader/g;

    if-nez v1, :cond_1

    .line 3
    invoke-virtual {p0}, Lcom/ss/android/socialbase/downloader/downloader/h;->t()Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object p0

    sput-object p0, Lcom/ss/android/socialbase/downloader/downloader/g;->a:Lcom/ss/android/socialbase/downloader/downloader/g;

    goto :goto_0

    .line 4
    :cond_1
    invoke-static {p0}, Lcom/ss/android/socialbase/downloader/downloader/c;->a(Lcom/ss/android/socialbase/downloader/downloader/h;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 5
    :goto_0
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p0

    monitor-exit v0

    throw p0
.end method

.method public static b(Landroid/content/Context;)Les/ao0;
    .locals 0

    .line 1
    invoke-static {p0}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    .line 2
    new-instance p0, Les/ao0;

    invoke-direct {p0}, Les/ao0;-><init>()V

    return-object p0
.end method


# virtual methods
.method public a(Ljava/lang/String;Ljava/lang/String;)Les/zn0;
    .locals 1

    .line 18
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/ss/android/socialbase/downloader/downloader/d;->b(Ljava/lang/String;Ljava/lang/String;)Les/zn0;

    move-result-object p1

    return-object p1
.end method

.method public a(Ljava/lang/String;)Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/List<",
            "Les/zn0;",
            ">;"
        }
    .end annotation

    .line 14
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1

    return-object p1
.end method

.method public a()V
    .locals 1

    .line 16
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ss/android/socialbase/downloader/downloader/d;->b()V

    return-void
.end method

.method public a(I)V
    .locals 1

    .line 13
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->d(I)V

    return-void
.end method

.method public a(ILes/sn0;)V
    .locals 3
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    if-nez p2, :cond_0

    return-void

    .line 19
    :cond_0
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    sget-object v1, Lcom/ss/android/socialbase/downloader/b/h;->a:Lcom/ss/android/socialbase/downloader/b/h;

    const/4 v2, 0x1

    invoke-virtual {v0, p1, p2, v1, v2}, Lcom/ss/android/socialbase/downloader/downloader/d;->b(ILes/sn0;Lcom/ss/android/socialbase/downloader/b/h;Z)V

    return-void
.end method

.method public a(IZ)V
    .locals 1

    .line 15
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/ss/android/socialbase/downloader/downloader/d;->c(IZ)V

    return-void
.end method

.method public a(Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 17
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->a(Ljava/util/List;)V

    return-void
.end method

.method public a(Les/zn0;)Z
    .locals 1

    .line 20
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->a(Les/zn0;)Z

    move-result p1

    return p1
.end method

.method public b(Ljava/lang/String;)Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/List<",
            "Les/zn0;",
            ">;"
        }
    .end annotation

    .line 4
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->b(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1

    return-object p1
.end method

.method public b(I)V
    .locals 1

    const/4 v0, 0x1

    .line 3
    invoke-virtual {p0, p1, v0}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(IZ)V

    return-void
.end method

.method public c(Ljava/lang/String;)Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/List<",
            "Les/zn0;",
            ">;"
        }
    .end annotation

    .line 2
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->c(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1

    return-object p1
.end method

.method public c(I)V
    .locals 1

    .line 1
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->f(I)V

    return-void
.end method

.method public d(Ljava/lang/String;)Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Ljava/util/List<",
            "Les/zn0;",
            ">;"
        }
    .end annotation

    .line 2
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->d(Ljava/lang/String;)Ljava/util/List;

    move-result-object p1

    return-object p1
.end method

.method public d(I)Z
    .locals 1

    .line 1
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->e(I)Z

    move-result p1

    return p1
.end method

.method public e(I)V
    .locals 1

    .line 1
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->g(I)V

    return-void
.end method

.method public f(I)I
    .locals 1

    .line 1
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->h(I)I

    move-result p1

    return p1
.end method

.method public g(I)Z
    .locals 1

    const/high16 v0, 0x400000

    .line 1
    invoke-static {v0}, Lcom/ss/android/socialbase/downloader/m/c;->a(I)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    monitor-enter p0

    .line 3
    :try_start_0
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->i(I)Z

    move-result p1

    monitor-exit p0

    return p1

    :catchall_0
    move-exception p1

    .line 4
    monitor-exit p0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1

    .line 5
    :cond_0
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->i(I)Z

    move-result p1

    return p1
.end method

.method public h(I)Les/zn0;
    .locals 1

    .line 1
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->j(I)Les/zn0;

    move-result-object p1

    return-object p1
.end method

.method public i(I)Les/vn0;
    .locals 1

    .line 1
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->k(I)Les/vn0;

    move-result-object p1

    return-object p1
.end method

.method public j(I)V
    .locals 2

    .line 1
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, p1, v1}, Lcom/ss/android/socialbase/downloader/downloader/d;->d(IZ)V

    return-void
.end method

.method public k(I)V
    .locals 4
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .line 1
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    sget-object v1, Lcom/ss/android/socialbase/downloader/b/h;->a:Lcom/ss/android/socialbase/downloader/b/h;

    const/4 v2, 0x0

    const/4 v3, 0x1

    invoke-virtual {v0, p1, v2, v1, v3}, Lcom/ss/android/socialbase/downloader/downloader/d;->a(ILes/sn0;Lcom/ss/android/socialbase/downloader/b/h;Z)V

    return-void
.end method

.method public l(I)Les/mn0;
    .locals 1

    .line 1
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->o(I)Les/mn0;

    move-result-object p1

    return-object p1
.end method

.method public m(I)Z
    .locals 1

    .line 1
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/d;->c()Lcom/ss/android/socialbase/downloader/downloader/d;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/ss/android/socialbase/downloader/downloader/d;->c(I)Lcom/ss/android/socialbase/downloader/downloader/o;

    move-result-object p1

    .line 2
    invoke-interface {p1}, Lcom/ss/android/socialbase/downloader/downloader/o;->b()Z

    move-result p1

    return p1
.end method
